CREATE TABLE [dbo].[TMEMPL_TESO]
(
[CO_EMPL] [dbo].[TD_VC_020] NOT NULL,
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[NO_APEL_PATE] [dbo].[TD_VC_020] NULL,
[NO_APEL_MATE] [dbo].[TD_VC_020] NULL,
[NO_APEL_SOLT] [dbo].[TD_VC_020] NULL,
[NO_EMPL] [dbo].[TD_VC_050] NULL,
[CO_BANC_SUEL] [dbo].[TD_VC_003] NULL,
[NU_CNTA_SUEL] [dbo].[TD_VC_020] NULL,
[TI_SITU] [dbo].[TD_VC_003] NULL,
[NO_CMPL] [dbo].[TD_VC_100] NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TMEMPL_TE__CO_US__7FF5EA36] DEFAULT (suser_sname()),
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TMEMPL_TE__FE_US__00EA0E6F] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL CONSTRAINT [DF__TMEMPL_TE__CO_US__01DE32A8] DEFAULT (suser_sname()),
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TMEMPL_TE__FE_US__02D256E1] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TMEMPL_TESO] ADD CONSTRAINT [PK__TMEMPL_T__17D9AB4D4FB2A58E] PRIMARY KEY CLUSTERED  ([CO_EMPL]) ON [PRIMARY]
GO
